/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package view.GUI.sidepanels;

import javax.swing.JLabel;
import model.graphic.objects.Graphical;
import view.GUI.LabelReader;

/**
 *
 * @author Ben
 */
public class PropertiesStateGraphical implements PropertiesState{

    public Object[][] getTableMatrix(Graphical g) {
            Object[][] data = {
                {LabelReader.getInstance().getString("Name"), new JLabel(g.getName())},
                {LabelReader.getInstance().getString("Visible"), g.isVisible()},
                {LabelReader.getInstance().getString("Type"), g.getType()},
                {LabelReader.getInstance().getString("BaseColor"), g.getBaseColor()},
              //  {LabelReader.getInstance().getString("BackColor"), g.getBackColor()},
                {LabelReader.getInstance().getString("HighLightColor"), g.getHighlightColor()},
                {LabelReader.getInstance().getString("Location"), g.getGraphLocation()}};
            return data;
    }

}
